package com.zmhc.product.service;

import java.util.List;
import com.zmhc.product.domain.GoodsGallery;

/**
 * 商品相册Service接口
 * 
 * @author ruoyi
 * @date 2023-12-11
 */
public interface IGoodsGalleryService 
{
    /**
     * 查询商品相册
     * 
     * @param id 商品相册主键
     * @return 商品相册
     */
    public GoodsGallery selectGoodsGalleryById(Long id);

    /**
     * 查询商品相册列表
     * 
     * @param goodsGallery 商品相册
     * @return 商品相册集合
     */
    public List<GoodsGallery> selectGoodsGalleryList(GoodsGallery goodsGallery);

    /**
     * 新增商品相册
     * 
     * @param goodsGallery 商品相册
     * @return 结果
     */
    public int insertGoodsGallery(GoodsGallery goodsGallery);

    /**
     * 修改商品相册
     * 
     * @param goodsGallery 商品相册
     * @return 结果
     */
    public int updateGoodsGallery(GoodsGallery goodsGallery);

    /**
     * 批量删除商品相册
     * 
     * @param ids 需要删除的商品相册主键集合
     * @return 结果
     */
    public int deleteGoodsGalleryByIds(Long[] ids);

    /**
     * 删除商品相册信息
     * 
     * @param id 商品相册主键
     * @return 结果
     */
    public int deleteGoodsGalleryById(Long id);
}
